var App = angular.module('touristfunds', []);

App.config(require('./router'));

//service
// App.factory('examineRosterservice', require('./service'));

//Controllers
App.controller('createUserInfo', require('./controllers/createUserInfo'));
// 市旅委资金发布规则列表
App.controller('capitalRelease', require('./controllers/capitalRelease'));
// 市旅委法律法规发布
App.controller('lawRegulation', require('./controllers/lawRegulation'));
// 区县旅游局审核企业
App.controller('enterpriseAudit', require('./controllers/enterpriseAudit'));
// 企业详情
App.controller('enterpriseDetail', require('./controllers/enterpriseDetail'));
// 市旅委政策法规发布列表
App.controller('policieRegulationList', require('./controllers/policieRegulationList'));
// 创建政策法规信息
App.controller('addPolicieRegulationr', require('./controllers/addPolicieRegulationr'));
// 市旅委资金发布规则列表
App.controller('fundReleaseList', require('./controllers/fundReleaseList'));
// 添加资金规则
App.controller('addCapitalRule', require('./controllers/addCapitalRule'));
// 企业资金规则公告列表
App.controller('fundRuleNoticeList', require('./controllers/fundRuleNoticeList')); 
// 企业申报资金
App.controller('declareFund', require('./controllers/declareFund')); 
App.controller('fundDeclareList', require('./controllers/fundDeclareList'));
// 驳回理由
App.controller('common_reject', require('./controllers/common_reject'));
// 待审核企业列表
App.controller('notAuditedEnterprise', require('./controllers/notAuditedEnterprise'));
// 已通过企业列表
App.controller('passedEnterprise', require('./controllers/passedEnterprise'));
// 已驳回企业列表
App.controller('dismissalEnterprise', require('./controllers/dismissalEnterprise'));
// 企业查看政策法规列表
App.controller('enterprisePolicieList', require('./controllers/enterprisePolicieList'));
// 企业详情
App.controller('enterprise_info', require('./controllers/enterprise_info'));
// 市旅委财务拨款审核列表
App.controller('financialAuditList', require('./controllers/financialAuditList'));
// 市旅委拨款
App.controller('appropriationInfo', require('./controllers/appropriationInfo'));
// 市旅委已拨款
App.controller('financialAuditedList', require('./controllers/financialAuditedList'));
// 日志管理
App.controller('interface_log', require('./controllers/interface_log'));
// 区县资金待审核列表
App.controller('countryMoneyAudit', require('./controllers/countryMoneyAudit')); 
// 区县待审核企业企业信息
App.controller('countryMoneyBase',require('./controllers/countryMoneyBase'));  
// 区县待审核企业项目通过
App.controller('countryMoneyAuditInfo',require('./controllers/countryMoneyAuditInfo')); 
// 区县待审核企业项目驳回
App.controller('countryMoneyAuditInfoNo',require('./controllers/countryMoneyAuditInfoNo')); 

// 市委初审审核企业项目通过
App.controller('cityMoneyAuditInfo',require('./controllers/cityMoneyAuditInfo')); 
// 市委初审待审核企业项目驳回
App.controller('cityMoneyAuditInfoNo',require('./controllers/cityMoneyAuditInfoNo')); 
// 市委终审审核企业项目通过
App.controller('cityTwoMoneyAuditInfo',require('./controllers/cityTwoMoneyAuditInfo')); 
// 市委终审待审核企业项目驳回
App.controller('cityTwoMoneyAuditInfoNo',require('./controllers/cityTwoMoneyAuditInfoNo')); 
// 区县待审核企业项目驳回列表
App.controller('countryMoneyNoAudit',require('./controllers/countryMoneyNoAudit')); 
// 区县待审核企业项目通过列表
App.controller('countryMoneyYesAudit',require('./controllers/countryMoneyYesAudit')); 
// 监管详情
App.controller('superviseInfo',require('./controllers/superviseInfo')); 
// 监管列表
App.controller('superviselist',require('./controllers/superviselist')); 


// 创建项目日志
App.directive('createprojectlog',require('./directives/createprojectlog'));  
// 财务拨款日志
App.directive('financelog',require('./directives/financelog')); 
// 监管日志
App.directive('superviselog',require('./directives/superviselog'));  
// 日志列表
App.directive('allloglist',require('./directives/allloglist'));  

// 初审待审核企业项目驳回列表
App.controller('cityMoneyNoAudit',require('./controllers/cityMoneyNoAudit')); 
// 初审待审核企业项目通过列表
App.controller('cityMoneyYesAudit',require('./controllers/cityMoneyYesAudit')); 
// 终审待审核企业项目驳回列表
App.controller('cityTwoMoneyNoAudit',require('./controllers/cityTwoMoneyNoAudit')); 
// 终审待审核企业项目通过列表
App.controller('cityTwoMoneyYesAudit',require('./controllers/cityTwoMoneyYesAudit')); 
//市委资金待审核列表
App.controller('cityMoneyAudit', require('./controllers/cityMoneyAudit'));
//市委终审资金待审核列表
App.controller('cityTwoMoneyAudit', require('./controllers/cityTwoMoneyAudit'));  

// 待审核企业
App.directive('enterprisenotaduit',require('./directives/enterprisenotaduit'));  
// 已驳回企业
App.directive('enterprisereject',require('./directives/enterprisereject'));  
// 已通过企业
App.directive('enterpriseaduited',require('./directives/enterpriseaduited'));  


module.exports = App;